﻿@* Ui层项目 - npm配置文件 *@
@using Util.Generators.Helpers
@model Util.Generators.Contexts.EntityContext
@{
    var service = new GenerateService( Model );
    var name = service.GetClientAppName();
    Model.Output.FileNameNoExtension = "package";
    Model.Output.Extension = ".json";
    Model.Output.RelativeRootPath = $"src/{service.GetUiProjectName()}/ClientApp";
}
{
  "name": "@name",
  "version": "1.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve --port @service.GetClientPort()",
    "build": "npm run ng-high-memory build",
    "build:prod": "npm run build -- --prod",
    "watch": "ng build --watch --configuration development",
    "test": "ng test",
    "ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@@angular/cli/bin/ng",
    "analyze": "npm run ng-high-memory build -- --source-map",
    "analyze:view": "source-map-explorer dist/**/*.js",
    "test-coverage": "ng test --code-coverage --watch=false",
    "color-less": "ng-alain-plugin-theme -t=colorLess",
    "theme": "ng-alain-plugin-theme -t=themeCss",
    "icon": "ng g ng-alain:plugin icon",
    "lint": "npm run lint:ts && npm run lint:style",
    "lint:ts": "ng lint --fix",
    "lint:style": "npx stylelint \"src/**/*.less\" --fix"
  },
  "private": true,
  "dependencies": {
    "@@angular/animations": "17.2.4",
    "@@angular/common": "17.2.4",
    "@@angular/compiler": "17.2.4",
    "@@angular/core": "17.2.4",
    "@@angular/forms": "17.2.4",
    "@@angular/platform-browser": "17.2.4",
    "@@angular/platform-browser-dynamic": "17.2.4",
    "@@angular/router": "17.2.4",
    "rxjs": "7.8.1",
    "tslib": "2.6.2",
    "zone.js": "0.14.3",
    "ng-zorro-antd": "17.3.0",
    "@@delon/abc": "17.3.0",
    "@@delon/acl": "17.3.0",
    "@@delon/auth": "17.3.0",
    "@@delon/cache": "17.3.0",
    "@@delon/chart": "17.3.0",
    "@@delon/form": "17.3.0",
    "@@delon/mock": "17.3.0",
    "@@delon/theme": "17.3.0",
    "@@delon/util": "17.3.0",
    "ngx-tinymce": "17.0.0",
    "tinymce": "6.8.2",
    "screenfull": "6.0.2",
    "angular-oauth2-oidc": "17.0.1",
    "@@angular-architects/module-federation": "17.0.8",
    "lodash-es": "4.17.21",
    "date-fns": "2.30.0",
    "ng-event-bus": "6.0.0",
    "util-angular": "17.3.3"
  },
  "devDependencies": {
    "@@angular-devkit/build-angular": "17.2.3",
    "@@angular/cli": "17.2.3",
    "@@angular/compiler-cli": "17.2.4",
    "@@types/jasmine": "5.1.4",
    "jasmine-core": "5.1.1",
    "karma": "6.4.2",
    "karma-chrome-launcher": "3.2.0",
    "karma-coverage": "2.2.1",
    "karma-jasmine": "5.1.0",
    "karma-jasmine-html-reporter": "2.1.0",
    "typescript": "5.2.2",
    "@@angular-eslint/builder": "17.1.0",
    "@@angular-eslint/eslint-plugin": "17.1.0",
    "@@angular-eslint/eslint-plugin-template": "17.1.0",
    "@@angular-eslint/schematics": "17.1.0",
    "@@angular-eslint/template-parser": "17.1.0",
    "@@typescript-eslint/eslint-plugin": "6.13.1",
    "@@typescript-eslint/parser": "6.13.1",
    "eslint": "8.54.0",
    "eslint-config-prettier": "9.0.0",
    "eslint-plugin-import": "2.29.0",
    "eslint-plugin-jsdoc": "46.9.0",
    "eslint-plugin-prefer-arrow": "1.2.3",
    "eslint-plugin-prettier": "5.0.1",
    "eslint-plugin-deprecation": "2.0.0",
    "@@angular/language-service": "17.2.4",
    "source-map-explorer": "2.5.3",
    "prettier": "3.1.0",
    "stylelint": "15.11.0",
    "stylelint-config-rational-order": "0.1.2",
    "stylelint-config-standard": "34.0.0",
    "stylelint-declaration-block-no-ignored-properties": "2.7.0",
    "stylelint-order": "6.0.3",
    "@@delon/testing": "17.3.0",
    "ng-alain": "17.3.0",
    "@@types/jasminewd2": "2.0.13",
    "jasmine-spec-reporter": "7.0.0",
    "protractor": "7.0.0",
    "ts-node": "10.9.1",
    "lint-staged": "15.1.0",
    "ngx-build-plus": "17.0.0"
  },
  "lint-staged": {
    "(src)/**/*.{html,ts}": [
      "eslint --fix"
    ],
    "(src)/**/*.less": [
      "npm run lint:style"
    ]
  }
}